// component/nav_one/nav_one.js
Component({

  // 组件的属性列表
  properties: {
    nav: {
      type: Object,
      value: [],
    },
  },
  /**
   * 页面的初始数据
   */
  data: {

  },
  options:{
    addGlobalClass: true
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})

/**
 * 测试数据：
 * nav:[{"title":"\u5c0f\u5b66","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/34176202008191447346762.png","type":0,"link":"","grade_id":4,"id":18},{"title":"\u9ad8\u4e2d","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/01ccc202008191450103239.png","type":0,"link":"","grade_id":2,"id":20},{"title":"\u5c11\u513f\u7f16\u7a0b","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/b101120200819145017271.png","type":0,"link":"","grade_id":1,"id":21},{"title":"\u7ed8\u753b","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/6f8ce202008191450353008.png","type":0,"link":"","grade_id":5,"id":22},{"title":"\u516c\u8003","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/2593c202008191450273923.png","type":0,"link":"","grade_id":6,"id":23},{"title":"\u5c0f\u8bed\u79cd","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/b461d202008191451235187.png","type":0,"link":"","grade_id":7,"id":24},{"title":"\u8003\u7814","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/032d4202008191450437213.png","type":0,"link":"","grade_id":8,"id":25},{"title":"\u6211\u7684\u8bfe\u7a0b","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/31685202008190947085097.png","type":3,"link":"\/wap\/special\/grade_list.html","grade_id":0,"id":27},{"title":"\u6211\u7684\u6536\u85cf","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/d17f620200819094709564.png","type":3,"link":"\/wap\/special\/grade_list\/type\/1.html","grade_id":0,"id":28},{"title":"\u6211\u7684\u7b7e\u5230","icon":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/64da4202104211033014264.png","type":3,"link":"http:\/\/kaiyuan.crmeb.net\/wap\/my\/sign_in.html","grade_id":0,"id":48}],
 **/